.blog-hero {
    background: #303F9F;
    padding:20px;
    color: white;
    text-align: center;
    font-size: 25px;
}


.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 30px;
}

.blog-card {
    background: white;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h2 {
    padding: 15px;
}

.blog-card p {
    padding: 0 15px 15px;
}

.read-more {
    margin-top: auto;
    background: linear-gradient(135deg, #0066cc, #004c99);
    color: #fff;
    text-align: center;
    padding: 12px;

    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.35);
    background: linear-gradient(135deg, #005bb5, #003f88);
}


@media (max-width: 916px) {
    .blog-hero{
        font-size: 20px;
    }

    .blog--container.show {
        position: relative;
        top: 380px;
    }
}
